package com.bl.andr.notificationlib;

import android.net.Uri;
import android.support.annotation.NonNull;

import java.io.Serializable;

/**
 * DESC:
 * TIME:2019-07-02
 */
public class ChannelEntity implements Serializable {
    private static final long serialVersionUID = 6279363323728030333L;

    private String channelId; // 渠道Id
    private String channelName; // 渠道名称
    private int importance; // 重要等级

    private String description; // 描述
    private boolean showBadge = false; // 是否显示icon角标
    private Uri soundUri; // 自定义通知提示音


    public ChannelEntity(@NonNull String channelId, @NonNull String channelName, @ImportanceType int importance) {
        this.channelId = channelId;
        this.channelName = channelName;
        this.importance = importance;
    }

    public String getChannelId() {
        return channelId;
    }

    public String getChannelName() {
        return channelName;
    }

    public int getImportance() {
        return importance;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean isShowBadge() {
        return showBadge;
    }

    public void setShowBadge(boolean showBadge) {
        this.showBadge = showBadge;
    }

    public Uri getSoundUri() {
        return soundUri;
    }

    public void setSoundUri(Uri soundUri) {
        this.soundUri = soundUri;
    }
}
